Skip to main content

All Questions

0votes
0answers
56views

Stale element reference: stale element not found on Python Selenium

I have the following (part of a) the source code of a web page : <div role="main"> <span id="maincontent"/> <div class="attempt-info-container"> ...
11house's user avatar
0votes
0answers
30views

How to scroll in a container with Selenium

I am trying to scrape data from the following link: https://m.hollywoodbets.net/betting/1/soccer/todayscoupon/15 On this website, you can scroll the entire page and also within the table of bets. In ...
Damon's user avatar
0votes
1answer
44views

Chrome controlled by Chromedriver silenced alert popup

I used the following html to test an alert pop up. If a user fills the form, but then switches URL, instead of submitting the form, the page will pop up an alert <!DOCTYPE html> <html> &...
oldpride's user avatar
1vote
1answer
40views

in Chrome devtools source tab, what is cd_iframe_id attribute?

My original HTML is <iframe id="iframe1" src="iframe_over_shadow_test_child.html" title="Iframe Example"></iframe> But I see it in Chrome devtools launched ...
oldpride's user avatar
0votes
0answers
62views

Clicking an invisible checkbox using Selenium Python

I have a problem with clicking checkboxes in a site. I had a working script that found checkboxes and later clicked them, but now the site had an update and the elements are different. The checkbox ...
Daniel Khairetdinov's user avatar
0votes
0answers
28views

Programmatically access Chrome-corrected HTML

I need to correct a bunch of incorrect HTML. This HTML has worked in user's browsers in the past, so I would like to just use the corrections from one of these browsers. I'm able to programmatically ...
rob.loh's user avatar
1vote
1answer
120views

Why can't Selenium find the element I specified in my code even though it's in the HTML?

I'm learning how to automate navigating through a website using Selenium on Python 3.9.2 using ChromeDriver and I'm stuck at the login page of GitHub, which is the website I'm practicing with. This is ...
jacob malu's user avatar
0votes
0answers
14views

vba_Selenium: Enter login crediantials into popup in browser where not able to view html code of popup

Need code, how to enter login/password into a browser popup where not able to view the html code of the popup. I tried using the codes but not able to do as needed.. Sub test() Set ch = New Selenium....
TCritical's user avatar
0votes
0answers
29views

finding overlaid text in html from a website

I'm using Selenium to browse sites and locate text overlaid in html on an image. But I have problems, how can I correctly identify the superimposed text on a web page in a unique way, without taking ...
Christelle Kpairi's user avatar
0votes
2answers
70views

Selenium-Python returning empty text for one specific class or tag in HTML but not visible on webpage

I am using Selenium and Python to scrape a website. The results will be unknown, so I cannot just hardcode to look for specific values (four letter vehicle codes like "UDAR" in this case). I ...
JasonH's user avatar
0votes
1answer
104views

How to Fix 'innerHTML' Error in Python Selenium Script?

I'm getting an error in my gmail sending script that I developed with Python using Selenium library and I need help to fix this error. The details of the error are as follows: Traceback (most recent ...
hummorrrflov's user avatar
1vote
0answers
115views

ElementClickInterceptedException for https://health.usnews.com/doctors/; Not Clicking the Button

So I'm trying to mine href data from doctors profiles on the page https://health.usnews.com/doctors/new-jersey. My code is using Selenium to host a web server to accesses the website and mine the URLs,...
Michael Craig's user avatar
1vote
2answers
398views

How do I get the value of the aria-label attribute from this WebElement?

Using Java Selenium, I have a reference to a WebElement object that represents the following HTML node: <td role="gridcell" class="mat-calendar-body-cell ng-star-inserted" style=...
Mattemingda's user avatar
0votes
0answers
36views

checking if a string is on a webpage - Selenium Webdriver retrieves static HTML code but not the Elements full code (and the string contents)

I'm trying to check if a specific string element appears on a URL webpage. My webdriver retrieves the HTML source code with no issues: URL = "******" driver = webdriver.Chrome() driver....
user17312322's user avatar
0votes
0answers
62views

Entering date into field on webpage with Python

Element of the Start Date box below <input name="ReportViewerControl$ctl04$ctl03$txtValue" type="text" size="28" onchange="javascript:setTimeout('__doPostBack(\'ReportViewerControl$ctl04$ctl03$...
Gary Macdonald's user avatar

153050per page
close